package com.woniu.crm.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 客户信息对象 crm_customer
 * 
 * @author woniu
 * @date 2020-06-29
 */
public class CrmCustomer extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** $column.columnComment */
    private Long companyId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private String sn;

    /** 客户性质 */
    @Excel(name = "客户性质")
    private Integer type;

    /** 负责人 */
    @Excel(name = "负责人")
    private String headId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String name;

    /** 法人 */
    @Excel(name = "法人")
    private String legalPerson;

    /** 客户来源 */
    private String origin;

    /** 地址 */
    @Excel(name = "地址")
    private String address;

    /** 邮编 */
    private Long zipCode;

    /** 行业 */
    @Excel(name = "行业")
    private String industry;

    /** 年营业额 */
    private String yearTurnover;

    /** 与公司关系 */
    private String ownership;

    /** 客户级别 */
    @Excel(name = "客户级别")
    private String rating;

    /** 是否删除 */
    private Integer isDeleted;

    /** 删除人 */
    private String deleteBy;

    /** 删除时间 */
    private Date deleteDatetime;

    /** 邮箱 */
    private String email;

    /** 传真 */
    private String fax;

    /** 电话 */
    private String telephone;

    /** 手机 */
    private String mobile;

    /** 企业类别 */
    @Excel(name = "企业类别")
    private String entCate;

    /** 人员规模 */
    private String staffSize;

    /** 公司阶段 */
    private String entStage;

    /** 是否有效 */
    private String status;

    /** 会员卡号 */
    @Excel(name = "会员卡号")
    private String memberCard;

    /** 金额 */
    private BigDecimal amt;

    /** 注册资金 */
    private BigDecimal registerCapital;

    /** 营业执照 */
    private String businessLicense;

    /** 主营业务 */
    private String mainBusiness;

    /** 助记码 */
    @Excel(name = "助记码")
    private String supJm;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setCompanyId(Long companyId)
    {
        this.companyId = companyId;
    }

    public Long getCompanyId()
    {
        return companyId;
    }
    public void setSn(String sn) 
    {
        this.sn = sn;
    }

    public String getSn() 
    {
        return sn;
    }
    public void setType(Integer type) 
    {
        this.type = type;
    }

    public Integer getType() 
    {
        return type;
    }
    public void setHeadId(String headId) 
    {
        this.headId = headId;
    }

    public String getHeadId() 
    {
        return headId;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setLegalPerson(String legalPerson) 
    {
        this.legalPerson = legalPerson;
    }

    public String getLegalPerson() 
    {
        return legalPerson;
    }
    public void setOrigin(String origin) 
    {
        this.origin = origin;
    }

    public String getOrigin() 
    {
        return origin;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setZipCode(Long zipCode) 
    {
        this.zipCode = zipCode;
    }

    public Long getZipCode() 
    {
        return zipCode;
    }
    public void setIndustry(String industry) 
    {
        this.industry = industry;
    }

    public String getIndustry() 
    {
        return industry;
    }
    public void setYearTurnover(String yearTurnover) 
    {
        this.yearTurnover = yearTurnover;
    }

    public String getYearTurnover() 
    {
        return yearTurnover;
    }
    public void setOwnership(String ownership) 
    {
        this.ownership = ownership;
    }

    public String getOwnership() 
    {
        return ownership;
    }
    public void setRating(String rating) 
    {
        this.rating = rating;
    }

    public String getRating() 
    {
        return rating;
    }
    public void setIsDeleted(Integer isDeleted) 
    {
        this.isDeleted = isDeleted;
    }

    public Integer getIsDeleted() 
    {
        return isDeleted;
    }
    public void setDeleteBy(String deleteBy) 
    {
        this.deleteBy = deleteBy;
    }

    public String getDeleteBy() 
    {
        return deleteBy;
    }
    public void setDeleteDatetime(Date deleteDatetime) 
    {
        this.deleteDatetime = deleteDatetime;
    }

    public Date getDeleteDatetime() 
    {
        return deleteDatetime;
    }
    public void setEmail(String email) 
    {
        this.email = email;
    }

    public String getEmail() 
    {
        return email;
    }
    public void setFax(String fax) 
    {
        this.fax = fax;
    }

    public String getFax() 
    {
        return fax;
    }
    public void setTelephone(String telephone) 
    {
        this.telephone = telephone;
    }

    public String getTelephone() 
    {
        return telephone;
    }
    public void setMobile(String mobile) 
    {
        this.mobile = mobile;
    }

    public String getMobile() 
    {
        return mobile;
    }
    public void setEntCate(String entCate) 
    {
        this.entCate = entCate;
    }

    public String getEntCate() 
    {
        return entCate;
    }
    public void setStaffSize(String staffSize) 
    {
        this.staffSize = staffSize;
    }

    public String getStaffSize() 
    {
        return staffSize;
    }
    public void setEntStage(String entStage) 
    {
        this.entStage = entStage;
    }

    public String getEntStage() 
    {
        return entStage;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setMemberCard(String memberCard) 
    {
        this.memberCard = memberCard;
    }

    public String getMemberCard() 
    {
        return memberCard;
    }
    public void setAmt(BigDecimal amt) 
    {
        this.amt = amt;
    }

    public BigDecimal getAmt() 
    {
        return amt;
    }
    public void setRegisterCapital(BigDecimal registerCapital) 
    {
        this.registerCapital = registerCapital;
    }

    public BigDecimal getRegisterCapital() 
    {
        return registerCapital;
    }
    public void setBusinessLicense(String businessLicense) 
    {
        this.businessLicense = businessLicense;
    }

    public String getBusinessLicense() 
    {
        return businessLicense;
    }
    public void setMainBusiness(String mainBusiness) 
    {
        this.mainBusiness = mainBusiness;
    }

    public String getMainBusiness() 
    {
        return mainBusiness;
    }
    public void setSupJm(String supJm) 
    {
        this.supJm = supJm;
    }

    public String getSupJm() 
    {
        return supJm;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("companyId", getCompanyId())
            .append("sn", getSn())
            .append("type", getType())
            .append("headId", getHeadId())
            .append("createBy", getCreateBy())
            .append("name", getName())
            .append("legalPerson", getLegalPerson())
            .append("origin", getOrigin())
            .append("address", getAddress())
            .append("zipCode", getZipCode())
            .append("industry", getIndustry())
            .append("yearTurnover", getYearTurnover())
            .append("ownership", getOwnership())
            .append("rating", getRating())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("isDeleted", getIsDeleted())
            .append("deleteBy", getDeleteBy())
            .append("deleteDatetime", getDeleteDatetime())
            .append("email", getEmail())
            .append("fax", getFax())
            .append("telephone", getTelephone())
            .append("mobile", getMobile())
            .append("entCate", getEntCate())
            .append("staffSize", getStaffSize())
            .append("entStage", getEntStage())
            .append("status", getStatus())
            .append("memberCard", getMemberCard())
            .append("amt", getAmt())
            .append("registerCapital", getRegisterCapital())
            .append("businessLicense", getBusinessLicense())
            .append("mainBusiness", getMainBusiness())
            .append("supJm", getSupJm())
            .toString();
    }
}
